﻿<div class="modal fade" ng-controller="ChangePasswordCtrl" ng-class="{'in':$visible}" ng-show="$visible" style="display:block;">
    <div class="modal-dialog modal-sm" style="width:600px;">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" ng-hide="isFocus" class="close" ng-click="$close()"><span>×</span><span class="sr-only">Close</span></button>
                <h4 class="modal-title" ng-bind="$title"></h4>
            </div>
            <!--内容区域开始-->
            <form class="form-horizontal" name="_form" ng-submit="SavePassword(_form,$close)" novalidate>
                <div class="modal-body" style="overflow:auto;height:250px">
                    <p style="color:rgba(255,0,0,.6);text-align:center;padding-bottom:10px;">密码必须由数字、字符、特殊字符三种中的两种组成,且长度不能少于8个字符</p>
                    <div class="form-group col-sm-12">
                        <label class="col-sm-4 control-label">旧密码(<lredstar></lredstar>):</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" name="OldPassword" ng-model="OldPassword" required>
                        </div>
                    </div>
                    <div class="form-group col-sm-12">
                        <label class="col-sm-4 control-label">新密码(<lredstar></lredstar>):</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" name="NewPassword" ng-model="NewPassword" required>
                        </div>
                    </div>

                    <div class="form-group col-sm-12">
                        <label class="col-sm-4 control-label">确认新密码:</label>
                        <div class="col-sm-8">
                            <input type="text" class="form-control" name="ConfirmPassword" ng-model="ConfirmPassword" required>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="submit" class="btn btn-success" ng-disabled="_form.$invalid"> 确 认 修 改 </button>
                    <button type="button" ng-hide="isFocus" class="btn btn-default" ng-click="$close()"> 关 闭 </button>
                    <button type="button" ng-show="isFocus" class="btn btn-default" ng-click="Cancel_LogOut($close)"> 关 闭 </button>
                </div>
            </form>
            <!--内容区域结束-->
        </div>
    </div>
</div>